<a href="admin/modules/tangra_cms/ci/ci_types.php" class="action_back">Back to content item pages</a><br /><br />
<table width="100%" border="1" cellspacing="0" cellpadding="0" class="info_page_main_table">
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="info_page_section_table">
                <tr>
                    <td class="info_page_section_title" width="100">Base details</td>
                    <td>
                        <table width="100%" border="0" cellspacing="1" cellpadding="4">
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Name</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_name()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">ID</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_id()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">HID</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_hid()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Page edit path</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_page_edit_path()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Page manage path</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_page_manage_path()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Page select path</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_page_select_path()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Page delete path</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_page_delete_path()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Page preview path</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_page_preview_path()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Class path</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_class_path()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Class name</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_class_name()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Capture prefix</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_capture_prefix()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">DB table</td>
                                <td align="left" class="info_page_content_cell">{$ci_type->get_db_table()}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Allow images?</td>
                                <td align="left" class="info_page_content_cell">{if $ci_type->get_allow_images()}Yes{else}No{/if}</td>
                            </tr>
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">DB table</td>
                                <td align="left" class="info_page_content_cell">{if $ci_type->get_allow_attachments()}Yes{else}No{/if}</td>
                            </tr>
                            
                        </table>
                    </td>
                    <td class="info_page_link_cell" align="center" width="100">
						<a href="admin/modules/tangra_cms/ci/ci_type_edit.php?ci_type_obj_id={$ci_type->get_id()}" class="action_edit">Edit</a>
                    </td>    
                </tr>                
            </table>
        </td>
    </tr>            
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="info_page_section_table">
                <tr>
                    <td class="info_page_section_title" width="100">Attributes</td>
                    <td>
                        <table width="100%" border="0" cellspacing="1" cellpadding="4">
                            <tr>
                                <td align="right" width="250" class="info_page_label_cell">Name</td>
                                <td align="left" class="info_page_content_cell">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="2">
                                        <tr>
                                            <td><a href="admin/modules/tangra_cms/ci/ci_type_attr_edit.php?ci_type_attr_add_new=1&amp;ci_type={$ci_type->get_id()}" class="action_add">Create new attribute</a></td>
                                        </tr>
                                        <tr>
                                            <td>
                                            	{if $attributes}
                                                <table width="100%" border="0" cellspacing="1" cellpadding="2"  class="metallic_grid_table">
                                                	<tr>
                                                    	<td width="5%" class="metallic_grid_header" align="center">ID</td>                                                    
                                                    	<td class="metallic_grid_header"><strong>Name</strong></td>
                                                    	<td width="30%" class="metallic_grid_header"><strong>Type</strong></td>                                                        
                                                        <td width="5%" class="metallic_grid_header">&nbsp;<strong>Required?</strong>&nbsp;</td>
                                                        <td width="5%" class="metallic_grid_header">&nbsp;<strong>Multiple?</strong>&nbsp;</td>                                                        
                                                        <td width="15%" class="metallic_grid_header">&nbsp;<strong>Parameters</strong>&nbsp;</td>
                                                    	<td width="16" class="metallic_grid_header">&nbsp;</td>
                                                    	<td width="16" class="metallic_grid_header">&nbsp;</td>                                  
                                                    </tr>
               										{foreach from=$attributes item=attribute}                                        
                                                    <tr class="metallic_grid_body" onmouseover="this.className='metallic_grid_body_over';return true;" onmouseout="this.className='metallic_grid_body';return true;">
											        	<td align="right">{$attribute.id}</td>
											        	<td align="left">{$attribute.name}</td>
											        	<td align="left">{$attribute.type_name}</td>
											        	<td align="center">{if $attribute.required}Yes{else}No{/if}</td>
											        	<td align="center">{if $attribute.multiple}Yes{else}No{/if}</td>                                                        
											        	<td align="left">{$attribute.params}</td>                                                        
											        	<td width="16"><a href="admin/modules/tangra_cms/ci/ci_type_attr_edit.php?ci_type_attr_obj_id={$attribute.id}&amp;ci_type={$ci_type->get_id()}"><img src="/img/modules/crystal_icons_small/16x16/edit.png" alt="Edit" width="16" height="16" border="0"/></a></td>
											        	<td width="16"><a href="admin/modules/tangra_cms/ci/ci_type_attr_del.php?del={$attribute.id}&amp;ci_type={$ci_type->get_id()}"><img src="/img/modules/crystal_icons_small/16x16/delete.png" alt="Delete" width="16" height="16" border="0"/></a></td>
													</tr>                                                        
			                                        {/foreach}
                                                </table>       
                                                {else}   
                                                No attributes added yet.
                                                {/if}                                    
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>            
</table>
